package com.wish.finance.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.finance.entity.TCwCheckBatch;
import com.wish.finance.entity.TCwCheckBatchVO;
import com.wish.finance.mapper.TCwCheckBatchMapper;
import com.wish.finance.service.ITCwCheckBatchService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 对账批次表 服务实现类
 * </p>
 *
 * @author 
 * @since 2022-03-28
 */
@Service
public class TCwCheckBatchServiceImpl extends ServiceImpl<TCwCheckBatchMapper, TCwCheckBatch> implements ITCwCheckBatchService {

	@Override
	public IPage<TCwCheckBatch> listAll(TCwCheckBatchVO vo) {
		IPage<TCwCheckBatch> page = new Page<>(vo.getPageNum(),vo.getPageSize());
		IPage<TCwCheckBatch> tCwCheckBatchIPage = getBaseMapper().listAll(page, vo);
		return tCwCheckBatchIPage;
	}
}
